/** 全局样式 */
@use "sass:math";

// 如果需要覆盖更多样式变量请查看文档
$--el-font-path: "@/panel/style/fonts";

// 如果不需要切换主题使用这个
//@import "@/panel/style/themes/default.scss";
// 如果不需要切换主题固定为夜间主题使用这个
//@import "@/panel/style/themes/dark.scss";
// 需要在线切换主题使用这个
@import "@/panel/style/themes/dynamic.scss";

/* 异常页面 */
.ele-exception {
  margin: 145px 0;

  .ele-exception-img,
  .ele-exception-content {
    margin: 15px 30px;
    display: inline-block;
    vertical-align: middle;

    img {
      filter: $--content-image-filter;
    }
  }

  .ele-exception-content > h1 {
    font-size: 72px;
    font-weight: 600;
    margin: 0 0 20px 0;
  }

  .ele-exception-content > p {
    font-size: 20px;
    margin: 0 0 25px 0;
  }
}

@media screen and (max-width: 768px) {
  .ele-exception {
    margin: 40px 0;

    .ele-exception-img {
      margin: 0;

      img {
        max-height: 200px;
        max-width: 100%;
      }
    }

    .ele-exception-content {
      text-align: center;
    }
  }
}

[ele-resizable].el-dialog__wrapper > .el-dialog > .el-dialog__header {
  flex-shrink: 0;
}

/* 异常页面 */
.ele-exception {
  margin: 145px 0;

  .ele-exception-img,
  .ele-exception-content {
    margin: 15px 30px;
    display: inline-block;
    vertical-align: middle;

    img {
      filter: $--content-image-filter;
    }
  }

  .ele-exception-content > h1 {
    font-size: 72px;
    font-weight: 600;
    margin: 0 0 20px 0;
  }

  .ele-exception-content > p {
    font-size: 20px;
    margin: 0 0 25px 0;
  }
}

@media screen and (max-width: 768px) {
  .ele-exception {
    margin: 40px 0;

    .ele-exception-img {
      margin: 0;

      img {
        max-height: 200px;
        max-width: 100%;
      }
    }

    .ele-exception-content {
      text-align: center;
    }
  }
}

[ele-resizable].el-dialog__wrapper > .el-dialog > .el-dialog__header {
  flex-shrink: 0;
}

.app-container {
  padding: 0;
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
  }
}

.el-tag-line {
  margin-left: 0 !important;
  margin-bottom: 4px;
  width: auto;
  display: block;
  word-break: normal;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow: hidden;
}

.el-table .caret-wrapper {
  width: auto;
}

.el-table--border th,
.el-table--border td {
  border-right: 1px solid #ebeef5;
}

.el-pagination {
  text-align: left;
}

.el-pagination.is-background .btn-prev,
.el-pagination.is-background .btn-next,
.el-pagination.is-background .el-pager li {
  margin: 0 2px;
}

.el-popover__title {
  font-size: 14px;
}

.el-popover {
  font-size: 12px;
}

.el-table {
  font-size: 12px;
}

.el-link {
  font-size: 12px;
}

.el-message-plan .el-message-box__container {
  border: 1px solid var(--border-color-base);
}

.el-message-plan .el-message-box__message {
  padding-left: 6px;
  max-height: 260px;
  overflow-y: auto;
  margin: 10px;
}

.el-message-plan {
  width: 500px !important;
}

#element-id {
  position: absolute;
  background-color: #93c8fd;
  opacity: 0.3;
  border: 1px dashed var(--color-primary);
  top: 0;
  left: 0;
  z-index: 99999;
}

.ele-admin-header .ele-admin-logo {
  font-size: 18px;
}

.ele-admin-header .ele-admin-logo img {
  width: 24px;
  height: 21px;
}

.ele-body-layout .el-table_target_sum {
  padding-left: 10px;
  padding-bottom: 9px;
  font-weight: bold;
  font-size: 13px;
}

.ele-body-layout .el-table_target_bar {
  border-bottom: 1px solid var(--border-color-lighter);
  margin-bottom: 9px;
}

.ele-body-layout .el-table_target_total {
  padding-left: 10px;
  padding-top: 1px;
  font-weight: bold;
  font-size: 13px;
}

.ele-body-layout .el-table__footer .cell {
  padding-left: 0;
  padding-right: 0;
}

.ele-body-layout .el-table__footer-wrapper tbody td {
  background-color: var(--color-white);
}

.ele-body-layout .el-table__footer-wrapper .gutter {
  background-color: var(--color-white);
  border-top: 1px solid var(--border-color-lighter);
}

.el-table .warning-row {
  background: oldlace;
}

.el-table .success-row {
  background: #f0f9eb;
}

.el-message-qr {
  width: 300px !important;
}

.el-card__header {
  font-size: 14px !important;
  color: #595959 !important;
}

.bold-red {
  font-weight: bold;
  color: red;
}
